package com.etc.common;

import com.fasterxml.jackson.annotation.JsonValue;
/**
 * 
 * Filename:    Code.java  
 * Description: code枚举   
 * Copyright:   Copyright (c) 2018-2019 All Rights Reserved.
 * Company:     chinasofti.com Inc.
 * @author:     mazheng 
 * @version:    1.0  
 * Create at:   2020年3月3日 下午3:27:44  
 *  
 * Modification History:  
 * Date         Author      Version     Description  
 * ------------------------------------------------------------------  
 * 2020年3月3日      mazheng      1.0         1.0 Version  
 *
 */
public enum Code {
    SUCESS("1"), FAIL("2"), SUCCESS_SHOW("3"), ERROR("4"), FILEDERROR("5"), CONVERTERROR("6"), FAIL_RELOGIN("7");
    @JsonValue
    private String code;
    private String msg;
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    private Code(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
    
}
